package cn.gson.springboot.model.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gson.springboot.model.mapper.RegistrFromMapper;
import cn.gson.springboot.model.mapper.RegistrTypeMapper;
import cn.gson.springboot.model.pojos.RegistrFrom;
import cn.gson.springboot.model.pojos.RegistrType;

@Service
@Transactional(rollbackFor=Exception.class)
public class RegistrTypeservice {
	
	  @Autowired
	  private RegistrTypeMapper rmapper;
	
	  //查询挂号类型
		public List<RegistrType> selectAllregtype(Integer retypeid,String retypename){
			return rmapper.selectAllregtype(retypeid,retypename);
		}

}
